package hasalah.demo.client.views;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextBox;

public class ConversionActivityCompsite extends Composite {

	public ConversionActivityCompsite() {

		
		FlexTable formTable = new FlexTable();
		initWidget(formTable);
		formTable.addStyleName("cw-FlexTable");
		formTable.setWidth("600px");
		formTable.setCellSpacing(5);
		formTable.setCellPadding(3);
		
		// Currency Unit
		Label	cLabel = new Label("Currnecy Unit", false);
		
		TextBox cBox   = new TextBox();
		cBox.setText("Saudi Riyal   \u0631\u064A\u0627\u0644 \u0633\u0639\u0648\u062F\u064A");
		cBox.setEnabled(false);
		
		formTable.setWidget(1, 1, cLabel);
		formTable.setWidget(1, 2, cBox);
		
		// Currency Amount
		Label	aLabel = new Label("Currnecy Amount ", false);
		TextBox aBox   = new TextBox();
			
		formTable.setWidget(2, 1, aLabel);
		formTable.setWidget(2, 2, aBox);
		
		// Points Amount
		Label	pLabel = new Label("Points Amount ", false);
		TextBox pBox   = new TextBox();
			
		formTable.setWidget(3, 1, pLabel);
		formTable.setWidget(3, 2, pBox);
		
		// Conversion Operation
		Label	vLabel = new Label("Opreration Type", false);
		TextBox vBox   = new TextBox();
		vBox.setText("Buying   \u0634\u0631\u0627\u0621");
		vBox.setEnabled(false);
			
		formTable.setWidget(4, 1, vLabel);
		formTable.setWidget(4, 2, vBox);

		
		
	}

}
